package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.entity.ActReProcdef;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Map;

/**
 * 流程部署Mapper接口
 * @date 2024-03-22
 */
@Repository
public interface ActReProcdefMapper extends BaseMapper<ActReProcdef>
{
    ActReProcdef getByDeploymentId(@Param("deploymentId") String deploymentId);

    IPage<Map<String,Object>> waitAuditForEnterprise(IPage<?> page, @Param("p")  Map<String,Object> param);;

    ActReProcdef getById(@Param("id") String processDefinitionId);
}
